<?php
namespace app\model;
use think\Model;

class Collect extends Model{
    public function goods()
    {
        return $this->hasone('Goods','id','goods_id');
    }
}
